package com.sharing.library.repository;

import com.sharing.library.entity.Review;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhanghaixuan
 * @create 2018/3/17-下午1:47
 **/
@Repository
public interface ReviewRepository extends ImoocRepository<Review> {

    List<Review> getByBookId(Long bookId);

}
